package com.situ.day10;

import org.junit.Test;
import org.junit.validator.PublicClassValidator;

public class AyyayUtilTest {
	@Test
	public void test(){
		int array[] = {3,45,23,43,54,13,24,3};
		int chuan = ArrayUtil.max(array);
	    
		System.out.println(chuan);
	}
	@Test
	public void  test2() {
		int array[] = {3,45,23,43,54,13,24,3};
		int chuan2 = ArrayUtil.min(array);
		System.out.println(chuan2);
		
	}
	public void test3() {
		int array[] = {3,45,23,43,54,13,24,3};
		ArrayUtil.maopao(array);
		for (int i = 0; i < array.length; i++) {
			System.out.println(array[i]);
		}
	}
	
}
